home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 7 / Apprentice-Release7.iso / Source Code / C ++ / Frameworks / SCAPI 0.85 / Spunk Cross API 1.0 / WinSCAPI / Headers / SCAPIGroupBox.h < prev    next >
Encoding:
Text File  |  1997-06-19  |  1.6 KB  |  58 lines  |  [TEXT/CWIE]

  1. // ===========================================================================
  2. //    SCAPIGroupBox.h                ©1997 Spunk Cross         All rights reserved.
  3. // ===========================================================================
  4.  
  5. #ifndef SCAPIGROUPBOX_H
  6. #define SCAPIGROUPBOX_H
  7.  
  8. #include "SCAPICommonIncludes.h"
  9. #include "SCAPIWindow.h"
  10.  
  11.  
  12. // ---------------------------------------------------------------------------
  13. //        Defines
  14. // ---------------------------------------------------------------------------
  15.  
  16. #define SCAPIGroupBox_default_title         "group box"
  17. #define SCAPIGroupBox_default_originx        0
  18. #define SCAPIGroupBox_default_originy        0
  19. #define SCAPIGroupBox_default_width            200
  20. #define SCAPIGroupBox_default_height        100
  21.  
  22.  
  23. // ---------------------------------------------------------------------------
  24. //        GroupBox Class
  25. // ---------------------------------------------------------------------------
  26.  
  27. class SCAPIGroupBox : public CButton
  28. {
  29.  
  30.     // ===========================================================
  31.     // === Spunk Cross API, these are the routines you can use ===
  32.     // ===========================================================
  33.     
  34.         // Constructor - Destructor
  35.         // ------------------------
  36.         
  37.     public:
  38.     
  39.         SCAPIGroupBox(    SCAPIWindow*    inWindowP,
  40.                         char*            inTitle = SCAPIGroupBox_default_title,
  41.                         int                inOriginx = SCAPIGroupBox_default_originx,
  42.                         int             inOriginy = SCAPIGroupBox_default_originy,
  43.                         int                inWidth = SCAPIGroupBox_default_width,
  44.                         int                inHeight = SCAPIGroupBox_default_height        );
  45.         
  46.         ~SCAPIGroupBox();
  47.         
  48.         
  49.         // Member functions
  50.         // ----------------
  51.         
  52.     public:
  53.         
  54.         void            Enable();
  55.         void            Disable();
  56. };
  57.  
  58. #endif